﻿using System.Threading;
using System.Threading.Tasks;
using YFurion.Application;

namespace UpperComputer.Application
{
    public interface ILoginInOrOutLogService : IEFCoreApplicationService<LoginInOrOutLogDto, long, LoginInOrOutLogResultRequestDto>
    {
        Task<LoginInOrOutLogDto> CreateLog(BaseUserDto input, CancellationToken cancellationToken = default);

        Task<LoginInOrOutLogDto> CreateLogout(CancellationToken cancellationToken = default);
    }
}
